<!--# include Template('header');#-->
<script language="javascript" src="script/videopreview.js"></script>
<!--header----main-->
      <div id="file-content">
        <div class="pos"><div class="right" style="font-weight:normal"><img src="images/icon/xhtml_go.png" align="absmiddle" />&nbsp;<a href="javascript:copyUrl('$fileInfo[filetitle]', '{$very[url]}/file.php?tid=$tid&cid=$cid&rid=$fileInfo[rid]');">复制本网址发给朋友</a></div>查看文件细节信息</div>
		<div class="content_pos">
<!--#if($preFile[rid]){#-->				
				<div style="float:left; padding-left:11px;">&lsaquo;&lsaquo;上一文件 <a href="file.php?tid=$tid&rid=$preFile[rid]&cid=$cid" title="$preFile[filetitle]">{@substrs($preFile[filetitle], 30)@}</a></div>
				<!--#}#-->	
				<!--#if($nextFile[rid]){#-->
				<div style="float:right">		
				&nbsp;&nbsp;&nbsp;<a href="file.php?tid=$tid&rid=$nextFile[rid]&cid=$cid" title="$nextFile[filetitle]">{@substrs($nextFile[filetitle],30)@}</a> 下一文件&rsaquo;&rsaquo; </div>
				<!--#}#-->
		</div>
		<div style="clear:both; height:15px;"></div>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="60" rowspan="2"><span style="float:left; padding:3px 10px 2px 15px;"><img src="$fileInfo[icon]" /></span></td>
    <td>$fileInfo[filetitle] &nbsp;&nbsp;&nbsp;<img src="images/icon/return.png" align="absmiddle" /> [<a href="view.php?tid=$tid&cid=$cid">返回{$very[contentName]}页</a>]</td>
    <td rowspan="2" align="right">下载原文件<a href="download.php?cid=$fileInfo[cid]&rid=$fileInfo[rid]&tid=$fileInfo[tid]" title="点击下载原文件"><img src="images/icon/download.png" alt="点击下载原文件" align="absmiddle" /></a></td>
  </tr>
  <tr>
    <td><!--#if(in_array($fileInfo[type],$restype[2][typeext])){#--><div id="globalbody" style="width:300px; margin:5px 0;">
    	<img hn_music="{'s': '$fileInfo[url]', 't':'$fileInfo[type]', 'i':1, 'u':1}" src="images/musicplay.gif" alt="播放"/><br />
    </div><!--#}#-->
    文件大小： $fileInfo[filesize] &nbsp;&nbsp;发布于：$fileInfo[uploadtime]</td>
    </tr>
</table>
		<div style="clear:both;"></div>
		<div id="preview"></div>
<!--# if($fileInfo[showpic] == 1){#-->
<!--# if(!empty($fileInfo[fileexif])) { #-->
<div id="file-main">
<div id="metadata">
<table id="firstLevelTags" cellspacing="0">
<!--# foreach($fileInfo[fileexif][1] as $key=>$val){ #-->
<tr>
				<td class="Label">$key</td>
				<td>$val</td>
		</tr>
<!--# }#-->
</table>
<table id="secondLevelTags" cellspacing="0">
<!--# foreach($fileInfo[fileexif][2] as $key=>$val){ #-->
<tr>
				<td class="Label">$key</td>
				<td>$val</td>
		</tr>
<!--# }#-->
</table>
<table id="thirdLevelTags" cellspacing="0">
<!--# foreach($fileInfo[fileexif][3] as $key=>$val){ #-->
<tr>
				<td class="Label">$key</td>
				<td>$val</td>
		</tr>
<!--# }#-->
</table>
</div>
</div>
<!--#}#-->
<div id="filesidebar">
<!--# if($fileInfo[picurl]) {#-->
<div id="showpic"><img src="$fileInfo[picurl]" /></div>
<!--# } #-->
</div>
<!--#}#-->
<!--# if($fileInfo[showpic] == 2){#-->

<script src="script/swfobject.js" language="javascript" type="text/javascript"></script> 
<div id="flv-player" style="margin:auto; margin-bottom:15px; width:480px; padding:0px; border:#eee 3px solid;"></div>
<script type="text/javascript">
	var vplayerURL = "player.swf";
	var so1 = new SWFObject(vplayerURL, "mymovie", "480", "360", "9", "#000000" );
	//so1.addVariable("forceFLV", "http://211.100.240.84/$fileInfo[flvurl]");
	so1.addVariable("playmode", "bigplayer");
	so1.addVariable("autoplay", "yes");
	so1.addVariable("skipAdsense", "yes");
	so1.addVariable("idcpath", "play.php");
	so1.addVariable("vcid", "$fileInfo[rid]");
	so1.addVariable("onlyReplay", "yes");
	so1.addParam("allowFullScreen", "true");
	so1.addParam("allowScriptAccess", "sameDomain");
	so1.write("flv-player");
  </script>
  </div>
<!--#} elseif(in_array($fileInfo[type],$restype[2][typeext])){#-->
<script type="text/javascript" charset="utf-8" src="http://cn.yui.yahooapis.com/2.5.2/build/utilities/utilities.js"></script>
<script type="text/javascript" charset="utf-8" src="script/hn.js"></script>
<script type="text/javascript" charset="utf-8" src="script/share.js"></script>
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function(){
	HN.app.Share.shareObj();
	HN.app.Share.initPage();
	HN.app.Share.delShare();
	HN.app.Share.videoShare();
	HN.app.Share.musicShare();
	//HN.app.Share.openCommentThread();
	HN.widget.Thread.initFlatCmt('share-list');
});

</script>


<!--#}#-->
<div class="clear"></div>
      </div>
<div class="clear"></div>
<div style="text-align:center; padding:10px;"></div>
<p id="share-tip"></p>
<!--# include Template('foot');#-->